import moment from 'moment';
/**
 * 表格
 */
export const tableColumns = [
  { code: 'useTo', name: '用途', align: 'center', width: 99 },
  { code: 'recipientUser', name: '收件人', align: 'center', width: 109 },
  {
    code: 'receiveTime',
    name: '接收时间',
    align: 'center',
    features: { sortable: true },
    width: 153,
    render: (v) => moment(v).format('YYYY-MM-DD HH:mm:ss'),
  },
  { code: 'fromUser', name: '发件人', align: 'center', width: 166 },
  { code: 'smsText', name: '短信正文', align: 'center' },
];
